package com.cx.service;

import com.cx.pojo.Engine;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EngineService {
    //添加
    int insert(Engine engine);

    //修改
    int updateByPrimaryKey(Engine engine);

    //删除
    int deleteByPrimaryKey(Integer eId);

    //查询
    Engine selectByPrimaryKey(Integer eId);

    //分页
    PageInfo<Engine> selectAllEngine(Engine engine);
}
